package com.meatball.wph.report.bi.controller;

import com.meatball.wph.report.wph.service.WphService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.Map;

@RequestMapping("/report/bi")
@Controller
public class BiController {
    @Resource
    private WphService service;

    @GetMapping("/index")
    public String index() {
        Map<String, Integer> map = service.getUserProportion();
        return "report/bi/bi";
    }
}
